/*
 * @Author: your name
 * @Date: 2020-06-05 10:54:59
 * @LastEditTime: 2020-06-08 09:51:51
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \IM_Web\vue.config.js
 */
module.exports = {
    transpileDependencies: [
        'vue-echarts',
        'resize-detector'
    ],
    publicPath: './',
    devServer: {
        proxy: {
            '/v1': {
                target: 'http://192.168.31.67:11005', // http://192.168.31.166:11005
                changeOrigin: true,
                ws: true,
                pathRewrite: {
                    '^/v1': '/v1'
                }
            },
            '/v2': {
                target: 'http://192.168.31.67:11005', // http://192.168.31.166:11005
                changeOrigin: true,
                ws: true,
                pathRewrite: {
                    '^/v2': '/v2'
                }
            }
        }
    }
}